package com.googlecode.animeclassifier.ui;

import java.util.ArrayList;
import java.util.List;


public class ColumnSettings {
	private final static List<ColumnSetting> cols = new ArrayList<ColumnSetting>(5);
	
	static {
		cols.add(new ColumnSetting("No", 50));
		cols.add(new ColumnSetting("Vol", 50));
		cols.add(new ColumnSetting("File", 900));
		cols.add(new ColumnSetting("Year", 50));
		cols.add(new ColumnSetting("Season", 50));
		cols.add(new ColumnSetting("Name", 100));
	}
	
	public static List<ColumnSetting> getCols() {
		return cols;
	}
	
	
}

class ColumnSetting {
	String title;
	int width;
	
	public ColumnSetting(String title, int width) {
		this.title = title;
		this.width = width;
	}
	
	public int getPreferredWidth() {
		return width;
	}
	
	public String getTitle() {
		return title;
	}
}